#ifndef WIN_UTIL_H
#define WIN_UTIL_H

#include <memory>
#include <string>
#include <vector>
#include <windows.h>

struct ProductInfo {
    std::wstring productName;
};

std::wstring GetProcessName(DWORD pid);

std::vector<std::wstring> GetInstalledPathList();

std::shared_ptr<ProductInfo> GetProcessFileProductInfo(const std::wstring &filePath);

std::wstring GetFileName(const std::wstring &path);

#endif  // WIN_UTIL_H
